﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="EmbeddedYoutubePlayer.ascx.cs" Inherits="controls_EmbeddedYoutubePlayer" %>
<p>
<object width="<%=_playerWidth.ToString() %>" height="<%=_playerHeight.ToString() %>">
  <param name="movie" value="<%=FormattedYouTubeLink %>" />
  <asp:Literal ID="FullScreenParameter" runat="server" />
  
  <embed src="<%=FormattedYouTubeLink %>"
    type="application/x-shockwave-flash"
    width="<%=_playerWidth.ToString() %>" height="<%=_playerHeight.ToString() %>" 
    allowfullscreen="true" />
</object>
</p>